package cn.ilikes.tools.hbase.clients;

import java.util.List;
import java.util.Map;

public interface IHBaseClientService {

	public <V> void save(V value) throws HbaseClientServiceException;

	public <V> void update(V value) throws HbaseClientServiceException;

	public <V> void delect(V value) throws HbaseClientServiceException;

	public <K, V> V get(K key, Class<V> clazz) throws HbaseClientServiceException;

	public <V> List<V> findBySQL(String sql, Map<String, Object> value, int... startAndmaxResults) throws HbaseClientServiceException;

	public <V> List<V> findByNameQuery(String name, Map<String, Object> value, int... startAndmaxResults) throws HbaseClientServiceException;

}
